package com.heima.mapper;

import com.heima.model.article.dtos.ArticleHomeDto;
import com.heima.model.article.pojos.Article;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author chenshan
* @description 针对表【ap_article(文章信息表，存储已发布的文章)】的数据库操作Mapper
* @createDate 2022-10-14 17:01:13
* @Entity com.heima.model.article.pojos.Article
*/
public interface ArticleMapper extends BaseMapper<Article> {
    List<Article> load(@Param("dto") ArticleHomeDto dto);

    List<Article> loadNew(@Param("dto") ArticleHomeDto dto);

    List<Article> loadMore(@Param("dto") ArticleHomeDto dto);


}




